package com.agentlab.imitation.service;

import java.io.Serializable;
import java.util.List;

import javax.annotation.Resource;

import org.hibernate.SessionFactory;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.agentlab.imitation.bean.User;
import com.agentlab.imitation.bean.UserWish;
import com.agentlab.imitation.service.base.DaoSupport;
import com.agentlab.imitation.util.MD5;



@Service @Transactional
public class UserWishServiceBean  extends DaoSupport<UserWish> implements UserWishService {
	@Resource SessionFactory factory;


	public void delete(Serializable... entityids) {
		// TODO Auto-generated method stub
		
	}


	public boolean exsit(Integer userid) {
		//int userid = 0;
		UserWish userWish = null;
		userWish = this.find(userid);
		if(userWish != null)return true;
		return false;
	}

	
	}
